package com.luoxue.execsql.rest.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.luoxue.execsql.rest.entity.SysDataSource;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DataSourceMapper extends BaseMapper<SysDataSource> {
    int deleteByPrimaryKey(Integer id);

    int insert(SysDataSource record);

    int insertSelective(SysDataSource record);

    SysDataSource selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysDataSource record);

    int updateByPrimaryKey(SysDataSource record);

    List<SysDataSource> selectByCondition(SysDataSource sysDataSource);
}
